// Copyright (c) Appeon. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. 
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

using System;

namespace SnapObjects.Data
{
    /// <summary>
    ///     Represents an object that contains information about a property in the DynamicModel.
    /// </summary>
    public interface IPropertyInfo
    {
        /// <summary>
        ///     Gets the zero-based index of the property.
        /// </summary>
        int Index { get; }

        /// <summary>
        ///      Gets the name of the property.
        /// </summary>
        string Name { get; }

        /// <summary>
        ///     Gets the data type of the property.
        /// </summary>
        Type DataType { get; }
    }
}
